﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DawnOfConquest
{
    public abstract class Ability
    {
        protected int range;
        protected String targetType;
        protected String name;

        //public List<Tile> validTargets;

        protected static int ENEMY = 0;
        protected static int FRIENDLY = 1;

        public abstract String execute(Piece user, Piece target);

        public int getRange()
        {
            return range;
        }

        public String getTargetType()
        {
            return targetType;
        }

        public String getName()
        { return name; }

        /*public Boolean hasTarget()
        {
            return validTargets.Count != 0;
        }*/
    }
}
